# $Id: PKGBUILD 74591 2012-07-31 10:04:29Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Orivej Desh <smpuj@bk.ru>

pkgname=liblinebreak
pkgver=2.1
pkgrel=1
pkgdesc="An implementation of the line breaking algorithm as described in Unicode 5.2.0 Standard Annex 14, Revision 24"
arch=("i686" "x86_64")
url="http://vimgadgets.sourceforge.net/liblinebreak/"
license=("custom:zlib/libpng")
depends=("glibc")
makedepends=()
options=("!libtool")
source=("http://downloads.sourceforge.net/vimgadgets/liblinebreak-$pkgver.tar.gz")
md5sums=('9fe73b4b230434765be2305e50f8fe45')

build() {
  cd "$srcdir/liblinebreak-$pkgver"
  ./configure --prefix=/usr
  make
  make DESTDIR="$pkgdir" install
  install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

